/**
 * 
 */
package com.sj.szxy.courseschedule.entity.course;

import java.util.Set;

import com.sj.szxy.courseschedule.entity.AdministrativeClass;
import com.sj.szxy.courseschedule.entity.Subject;
import com.sj.szxy.courseschedule.entity.Teacher;
import com.sj.szxy.courseschedule.entity.TeachingClass;

/**
 * 教学班课程
 * @author Yi Ping
 * @date 2018年3月29日 下午9:24:45 
 * @since 1.0.0
 *
 */
public class TeachingCourse extends AbstractSimpleCourse {
	
	/**
	 * @param subject
	 * @param teacher
	 */
	public TeachingCourse(Subject subject, Teacher teacher) {
		super(subject, teacher);
		// TODO Auto-generated constructor stub
	}

	private TeachingClass teachingClass;

	
	
	@Override
	public Set<AdministrativeClass> getAdministractiveClasses() {
		return teachingClass.getGroup().getAdministrativeClasses();
	}

	public TeachingClass getTeachingClass() {
		return teachingClass;
	}

	public void setTeachingClass(TeachingClass teachingClass) {
		this.teachingClass = teachingClass;
	}
	
	
	
}
